package com.biz.utils;

import com.biz.utils.interfacej.SmsClientSend;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * @author GengLong
 *
 */
public class SmsUtil
{
	private static Logger logger = LoggerFactory.getLogger(SmsUtil.class);

	public static String url = "http://121.199.50.122:8888/sms.aspx";
	public static String userid = "262";
	public static String account = "joneatom";
	public static String password = "12345678";
	
	public static void sendMsg(String mobile, String content) throws Exception
	{
		String reuslt = SmsClientSend.sendSms(url, userid, account, password, mobile, "您的验证码为:"+content+"，请及时填写。【众花】");
		logger.info(reuslt);
	}

	public static void main(String[] args) throws Exception
	{
		
		sendMsg("13852733124","你好啊");
		
	}
}
